import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 完整引入elementui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// 导入样式
import '@/styles/base.less'
// 导入导航守卫
import './permission.js'
// 导入混入
import checkPermission from './mixins/checkPermission'
Vue.mixin(checkPermission)

Vue.use(ElementUI)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
